package com.cloudcentral.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cloudcentral.entity.query.DetectResultQuery;
import com.cloudcentral.entity.DetectResult;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 探测结果记录表 Mapper 接口
 * </p>
 *
 * @author Administrator
 * @since 2023-11-23
 */
public interface DetectResultMapper extends BaseMapper<DetectResult> {
  List<Map<String, Object>> listByIdsCustom(@Param("query") String ids);

  IPage<Map<String, Object>> listPage(Page<Map<String, Object>> page, @Param("query") DetectResultQuery query);
}
